import React from 'react'
import Item from './Item'

const OrderListView = (props) => {
  return (
    <div>
      {
        props.data.map((ele,index) => {
          return <Item key={index} data={ele} user={props.user}/>
        })
      }
    </div>
  )
}

export default OrderListView